CXX=g++
FLGS=-g
SRCS=$(shell ls *.cpp)
OBJS= $(subst .cpp,.o,$(SRCS))

move: Hotel
	cp Hotel unix/Hotel
	rm Hotel

Hotel: $(OBJS)
	$(CXX) -o Hotel $(FLGS) $(OBJS)

%.o: %.cpp
	$(CXX) $(FLGS) -c $<

clean:
	@echo Cleaning up my shits...
	@rm *.o
	@echo Done!
